<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen; http://apigen.org" />

	<title>Class Nette\Web\Uri</title>

	<link rel="stylesheet" href="resources/style.css?v=2011071314" type="text/css" media="all" />
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	<link rel="search" href="opensearch.xml" type="application/opensearchdescription+xml" title="Nette Framework API documentation" />
	<script type="text/javascript" src="resources/combined.js"></script>
	<script type="text/javascript" src="allclasses.js"></script>
</head>

<body>
<div id="left">
	<a href="allclasses.html">All Classes</a>

	<h3>Namespaces</h3>
	<ul>
		<li><a href="namespace-none.html">none</a>
		</li>
		<li><a href="namespace-Nette.html">Nette</a>
		</li>
		<li><a href="namespace-Nette.Application.html">Nette\Application</a>
		</li>
		<li><a href="namespace-Nette.Caching.html">Nette\Caching</a>
		</li>
		<li><a href="namespace-Nette.Collections.html">Nette\Collections</a>
		</li>
		<li><a href="namespace-Nette.Config.html">Nette\Config</a>
		</li>
		<li><a href="namespace-Nette.Forms.html">Nette\Forms</a>
		</li>
		<li><a href="namespace-Nette.IO.html">Nette\IO</a>
		</li>
		<li><a href="namespace-Nette.Loaders.html">Nette\Loaders</a>
		</li>
		<li><a href="namespace-Nette.Mail.html">Nette\Mail</a>
		</li>
		<li><a href="namespace-Nette.Reflection.html">Nette\Reflection</a>
		</li>
		<li><a href="namespace-Nette.Security.html">Nette\Security</a>
		</li>
		<li><a href="namespace-Nette.Templates.html">Nette\Templates</a>
		</li>
		<li class="active"><a href="namespace-Nette.Web.html">Nette\Web</a>
		</li>
		<li><a href="namespace-PHP.html">PHP</a>
		</li>
	</ul>

	<hr />

	<h3>Classes</h3>

	<ul>
		<li><a href="Nette.Web.Ftp.html">Ftp</a></li>
		<li><a href="Nette.Web.Html.html">Html</a></li>
		<li><a href="Nette.Web.HttpContext.html">HttpContext</a></li>
		<li><a href="Nette.Web.HttpRequest.html">HttpRequest</a></li>
		<li><a href="Nette.Web.HttpResponse.html">HttpResponse</a></li>
		<li><a href="Nette.Web.HttpUploadedFile.html">HttpUploadedFile</a></li>
		<li><a href="Nette.Web.Session.html">Session</a></li>
		<li><a href="Nette.Web.SessionNamespace.html">SessionNamespace</a></li>
		<li class="active"><a href="Nette.Web.Uri.html">Uri</a></li>
		<li><a href="Nette.Web.UriScript.html">UriScript</a></li>
		<li><a href="Nette.Web.User.html">User</a></li>
	</ul>

	<h3>Interfaces</h3>

	<ul>
		<li><a href="Nette.Web.IHttpRequest.html">IHttpRequest</a></li>
		<li><a href="Nette.Web.IHttpResponse.html">IHttpResponse</a></li>
		<li><a href="Nette.Web.IUser.html">IUser</a></li>
	</ul>

	<h3>Exceptions</h3>

	<ul>
		<li><a href="Nette.Web.FtpException.html">FtpException</a></li>
	</ul>
</div>

<div id="right">
	<form action="http://www.google.com/cse" id="search" onsubmit="if(this.q.value.indexOf('more:')==-1)this.q.value+=' more:api'">
		<input type="hidden" name="cx" value="011549293477758430224:vxofa9ufnhc" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" class="text" /><input type="submit" value="Search" />
	</form>

<div id="navigation">
	<ul>
		<li><a href="overview.html" title="Summary of all namespaces">Overview</a></li>
		<li><a href="namespace-Nette.Web.html" title="Summary of Nette\Web">Namespace</a></li>
		<li class="active">Class</li>
		<li><a href="elements.html">Elements</a></li>
	</ul>
</div>

<div id="content">
	<div id="classSummary">
		<p>namespace <a href="namespace-Nette.Web.html">Nette\Web</a></p>

		<h1>Class Uri</h1>

		<div class="classDescription">
		
<p>URI Syntax (RFC 3986).</p>

<pre>
http://user:password@nette.org:8042/en/manual.html?name=param#fragment
\__/^^^\__________________________/\_____________/^\________/^\______/
  |                 |                     |            |         |
scheme          authority               path         query    fragment
</pre>

<ul>
	<li>authority: [user[:password]@]host[:port]</li>

	<li>hostUri: <a
	href="http://user:password&#64;nette.org:8042">http://user:password@nette.org:8042</a></li>
</ul>

		</div>

		<dl class="tree">
			<dd style="padding-left:0px">
				<a href="Nette.Object.html">Nette\Object</a>
				
			</dd>
			<dd style="padding-left:30px">
				<img src="resources/inherit.gif" alt="extended by" />
				<a href="Nette.FreezableObject.html">Nette\FreezableObject</a>
				
			</dd>
			<dd style="padding-left:60px">
				<img src="resources/inherit.gif" alt="extended by" />
<b>Nette\Web\Uri</b>				
			</dd>
		</dl>

		<div>
			<h4>Direct Known Subclasses</h4>
			<a href="Nette.Web.UriScript.html">UriScript</a>
		</div>


		<div class="classInfo">
			
				<b>Author:</b> David Grudl<br />
			<b>Located at</b> <a href="source-Web.Uri.php.html#18">/Web/Uri.php</a><br />
		</div>
	</div>


	<div id="methodSummary">
		<table class="summary">
		<caption>Method Summary</caption>
		<tr data-order="1 __construct" id="___construct">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#___construct">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#82" title="go to source code"><b>__construct</b></a>(
					string
					<var>$uri</var> = <span class="php-keyword1">NULL</span>
			)</code>

			<div class="short">
				
			</div>

			<div class="detailed">
				


					<h4>Parameters</h4>
					<div class="smallList">
						<code>$uri</code> string URL<br />
					</div>


					<h4>Throws</h4>
					<div class="smallList">
						<a href="InvalidArgumentException.html">InvalidArgumentException</a> <br />
					</div>

			</div>
			</td>
		</tr>
		<tr data-order="1 setScheme" id="_setScheme">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				<a href="Nette.Web.Uri.html">Uri</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setScheme">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#111" title="go to source code"><b>setScheme</b></a>(
					string
					<var>$value</var>
			)</code>

			<div class="short">
				
<p>Sets the scheme part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Sets the scheme part of URI.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$value</code> string <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Uri.html">Uri</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getScheme" id="_getScheme">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getScheme">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#125" title="go to source code"><b>getScheme</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the scheme part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the scheme part of URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 setUser" id="_setUser">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				<a href="Nette.Web.Uri.html">Uri</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setUser">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#136" title="go to source code"><b>setUser</b></a>(
					string
					<var>$value</var>
			)</code>

			<div class="short">
				
<p>Sets the user name part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Sets the user name part of URI.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$value</code> string <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Uri.html">Uri</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getUser" id="_getUser">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getUser">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#150" title="go to source code"><b>getUser</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the user name part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the user name part of URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 setPassword" id="_setPassword">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				<a href="Nette.Web.Uri.html">Uri</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setPassword">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#161" title="go to source code"><b>setPassword</b></a>(
					string
					<var>$value</var>
			)</code>

			<div class="short">
				
<p>Sets the password part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Sets the password part of URI.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$value</code> string <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Uri.html">Uri</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getPassword" id="_getPassword">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getPassword">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#175" title="go to source code"><b>getPassword</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the password part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the password part of URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 setPass" id="_setPass" class="deprecated">
			<td align="right" width="1%"><code class="nowrap">
				deprecated  public 
				
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setPass">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#186" title="go to source code"><b>setPass</b></a>(
					
					<var>$value</var>
			)</code>

			<div class="short">
				
			</div>

			<div class="detailed">
				





			</div>
			</td>
		</tr>
		<tr data-order="1 getPass" id="_getPass" class="deprecated">
			<td align="right" width="1%"><code class="nowrap">
				deprecated  public 
				
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getPass">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#197" title="go to source code"><b>getPass</b></a>(
			)</code>

			<div class="short">
				
			</div>

			<div class="detailed">
				





			</div>
			</td>
		</tr>
		<tr data-order="1 setHost" id="_setHost">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				<a href="Nette.Web.Uri.html">Uri</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setHost">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#208" title="go to source code"><b>setHost</b></a>(
					string
					<var>$value</var>
			)</code>

			<div class="short">
				
<p>Sets the host part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Sets the host part of URI.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$value</code> string <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Uri.html">Uri</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getHost" id="_getHost">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getHost">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#222" title="go to source code"><b>getHost</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the host part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the host part of URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 setPort" id="_setPort">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				<a href="Nette.Web.Uri.html">Uri</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setPort">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#233" title="go to source code"><b>setPort</b></a>(
					string
					<var>$value</var>
			)</code>

			<div class="short">
				
<p>Sets the port part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Sets the port part of URI.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$value</code> string <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Uri.html">Uri</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getPort" id="_getPort">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getPort">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#247" title="go to source code"><b>getPort</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the port part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the port part of URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 setPath" id="_setPath">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				<a href="Nette.Web.Uri.html">Uri</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setPath">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#258" title="go to source code"><b>setPath</b></a>(
					string
					<var>$value</var>
			)</code>

			<div class="short">
				
<p>Sets the path part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Sets the path part of URI.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$value</code> string <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Uri.html">Uri</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getPath" id="_getPath">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getPath">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#272" title="go to source code"><b>getPath</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the path part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the path part of URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 setQuery" id="_setQuery">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				<a href="Nette.Web.Uri.html">Uri</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setQuery">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#283" title="go to source code"><b>setQuery</b></a>(
					string|array
					<var>$value</var>
			)</code>

			<div class="short">
				
<p>Sets the query part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Sets the query part of URI.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$value</code> string|array <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Uri.html">Uri</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 appendQuery" id="_appendQuery">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				void
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_appendQuery">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#297" title="go to source code"><b>appendQuery</b></a>(
					string|array
					<var>$value</var>
			)</code>

			<div class="short">
				
<p>Appends the query part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Appends the query part of URI.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$value</code> string|array <br />
					</div>



			</div>
			</td>
		</tr>
		<tr data-order="1 getQuery" id="_getQuery">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getQuery">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#311" title="go to source code"><b>getQuery</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the query part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the query part of URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 setFragment" id="_setFragment">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				<a href="Nette.Web.Uri.html">Uri</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setFragment">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#322" title="go to source code"><b>setFragment</b></a>(
					string
					<var>$value</var>
			)</code>

			<div class="short">
				
<p>Sets the fragment part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Sets the fragment part of URI.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$value</code> string <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Uri.html">Uri</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getFragment" id="_getFragment">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getFragment">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#336" title="go to source code"><b>getFragment</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the fragment part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the fragment part of URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getAbsoluteUri" id="_getAbsoluteUri">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getAbsoluteUri">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#347" title="go to source code"><b>getAbsoluteUri</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the entire URI including query string and fragment.</p>

			</div>

			<div class="detailed">
				
<p>Returns the entire URI including query string and fragment.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getAuthority" id="_getAuthority">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getAuthority">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#360" title="go to source code"><b>getAuthority</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the [user[:pass]@]host[:port] part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the [user[:pass]@]host[:port] part of URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getHostUri" id="_getHostUri">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getHostUri">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#380" title="go to source code"><b>getHostUri</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the scheme and authority part of URI.</p>

			</div>

			<div class="detailed">
				
<p>Returns the scheme and authority part of URI.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 isEqual" id="_isEqual">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				bool
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_isEqual">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#391" title="go to source code"><b>isEqual</b></a>(
					string
					<var>$uri</var>
			)</code>

			<div class="short">
				
<p>URI comparsion (this object must be in canonical form).</p>

			</div>

			<div class="detailed">
				
<p>URI comparsion (this object must be in canonical form).</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$uri</code> string <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList">bool </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 canonicalize" id="_canonicalize">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				void
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_canonicalize">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#420" title="go to source code"><b>canonicalize</b></a>(
			)</code>

			<div class="short">
				
<p>Transform to canonical form.</p>

			</div>

			<div class="detailed">
				
<p>Transform to canonical form.</p>






			</div>
			</td>
		</tr>
		<tr data-order="1 __toString" id="___toString">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#___toString">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#434" title="go to source code"><b>__toString</b></a>(
			)</code>

			<div class="short">
				
			</div>

			<div class="detailed">
				



					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="0 unescape" id="_unescape">
			<td align="right" width="1%"><code class="nowrap">
				 public static
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_unescape">#</a>
			<code class="nowrap">
				<a href="source-Web.Uri.php.html#444" title="go to source code"><b>unescape</b></a>(
					string
					<var>$s</var>, 
					string
					<var>$reserved</var> = <span class="php-quote">'%;/?:@&amp;=+$,'</span>
			)</code>

			<div class="short">
				
<p>Similar to rawurldecode, but preserve reserved chars encoded.</p>

			</div>

			<div class="detailed">
				
<p>Similar to rawurldecode, but preserve reserved chars encoded.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$s</code> string to decode<br />
						<code>$reserved</code> string reserved characters<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>

		</table>
	</div>


	<h2>Methods Inherited From <a href="Nette.FreezableObject.html#methodSummary">Nette\FreezableObject</a></h2>
	<div class="box"><code>
		<a href="Nette.FreezableObject.html#_freeze">freeze()</a>, <a href="Nette.FreezableObject.html#_isFrozen">isFrozen()</a>, <a href="Nette.FreezableObject.html#___clone">__clone()</a>, <a href="Nette.FreezableObject.html#_updating">updating()</a>
	</code></div>
	<h2>Methods Inherited From <a href="Nette.Object.html#methodSummary">Nette\Object</a></h2>
	<div class="box"><code>
		<a href="Nette.Object.html#_getClass" class="deprecated">getClass()</a>, <a href="Nette.Object.html#_getReflection">getReflection()</a>, <a href="Nette.Object.html#___call">__call()</a>, <a href="Nette.Object.html#___callStatic">__callStatic()</a>, <a href="Nette.Object.html#_extensionMethod">extensionMethod()</a>, <a href="Nette.Object.html#___get">__get()</a>, <a href="Nette.Object.html#___set">__set()</a>, <a href="Nette.Object.html#___isset">__isset()</a>, <a href="Nette.Object.html#___unset">__unset()</a>
	</code></div>





	<div id="propertySummary">
		<table class="summary">
		<caption>Property Summary</caption>
		<tr data-order="defaultPorts" id="$defaultPorts">
			<td align="right" width="1%"><code class="nowrap">
				 static
				array
			</code></td>

			<td width="1%"><var>$defaultPorts</var></td>
			<td><pre><span class="php-keyword1">array</span> (
  <span class="php-quote">'http'</span> =&gt; <span class="php-num">80</span>,
  <span class="php-quote">'https'</span> =&gt; <span class="php-num">443</span>,
  <span class="php-quote">'ftp'</span> =&gt; <span class="php-num">21</span>,
  <span class="php-quote">'news'</span> =&gt; <span class="php-num">119</span>,
  <span class="php-quote">'nntp'</span> =&gt; <span class="php-num">119</span>,
)</pre></td>
			<td> <a href="#$defaultPorts" class="anchor">#</a></td>
		</tr>

		<tr data-order="scheme" id="$scheme">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$scheme</var></td>
			<td></td>
			<td> <a href="#$scheme" class="anchor">#</a></td>
		</tr>
		<tr data-order="user" id="$user">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$user</var></td>
			<td></td>
			<td> <a href="#$user" class="anchor">#</a></td>
		</tr>
		<tr data-order="password" id="$password">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$password</var></td>
			<td></td>
			<td> <a href="#$password" class="anchor">#</a></td>
		</tr>
		<tr data-order="host" id="$host">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$host</var></td>
			<td></td>
			<td> <a href="#$host" class="anchor">#</a></td>
		</tr>
		<tr data-order="port" id="$port">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$port</var></td>
			<td></td>
			<td> <a href="#$port" class="anchor">#</a></td>
		</tr>
		<tr data-order="path" id="$path">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$path</var></td>
			<td></td>
			<td> <a href="#$path" class="anchor">#</a></td>
		</tr>
		<tr data-order="query" id="$query">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$query</var></td>
			<td></td>
			<td> <a href="#$query" class="anchor">#</a></td>
		</tr>
		<tr data-order="fragment" id="$fragment">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$fragment</var></td>
			<td></td>
			<td> <a href="#$fragment" class="anchor">#</a></td>
		</tr>
		<tr data-order="absoluteUri" id="$absoluteUri">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$absoluteUri</var></td>
			<td></td>
			<td> <a href="#$absoluteUri" class="anchor">#</a></td>
		</tr>
		<tr data-order="authority" id="$authority">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$authority</var></td>
			<td></td>
			<td> <a href="#$authority" class="anchor">#</a></td>
		</tr>
		<tr data-order="hostUri" id="$hostUri">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$hostUri</var></td>
			<td></td>
			<td> <a href="#$hostUri" class="anchor">#</a></td>
		</tr>
		</table>
	</div>


</div>

	<div id="footer">
		Nette Framework API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</body>
</html>
